auto merge of #896 : jgillich/cargo/patch-3, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 17 Nov 2014 18:44:30 +0000 (18:44 +0000)
committerbors <bors@rust-lang.org>
Mon, 17 Nov 2014 18:44:30 +0000 (18:44 +0000)
commita3fd7bd630342f467b1413896cfa2e33f8c80fed
treeaf74b8e0283dfcbb7524deafe4b0605698a5cd22
parent12a9b9d9535c81e2ccb0002fa316a7b4ccc5a4b6
parent7f4f660db66453ca0abdd5d1b9be536e01068155
auto merge of #896 : jgillich/cargo/patch-3, r=alexcrichton

Currently the command output looks like this on Fedora:

```
$ curl https://static.rust-lang.org/rustup.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9866  100  9866    0     0  39592      0 --:--:-- --:--:-- --:--:-- 39622[sudo] password for jakob:
```
The first time I ran it, I didn't even realize it is asking for a password. By using the options for `silent` and `show-error`, we get this:

```
$ curl -sS https://static.rust-lang.org/rustup.sh | sudo bash
[sudo] password for jakob:
```
And errors are still displayed:

```
$ curl -sS https://example.invalid | sudo bash
curl: (6) Could not resolve host: example.invalid
[sudo] password for jakob:
```